﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TimeApplication3
{
   
        

        
    class Program
    {

        static void Main(string[] args)
        {
            闹钟.看时间();
            Console.ReadKey();
          } 
        }
    public class 闹钟
    {
        public static void 看时间()
        {
            Console.WriteLine("当前时间是：{0}",DateTime.Now);
        }
    }
    }

